package com.dj.mingkong.common.enums;

/**
 * @author zenglonghui
 * @date: 2022/6/17 18:00
 */
public enum StatusEnum {
    INVALID(0, "无效"),
    VALID(1, "有效");

    private Integer intVal;
    private String desc;

    StatusEnum(Integer intVal, String desc) {
        this.intVal = intVal;
        this.desc = desc;
    }

    public Integer getIntVal() {
        return intVal;
    }

    public String getDesc() {
        return desc;
    }

    public boolean equalsIntVal(Integer intVal) {
        return this.intVal.equals(intVal);
    }
}
